package ambika.innerclasses;



public class AnonymousInnerClass {

	public void sayHiToAll(){
		System.out.println("Hello everyone!");
		
		
		{
			class AnotherClass{
				public void sayHiToAll(){
					System.out.println("Hello to everyone, once again!!");
				}
			}
		}
		
		
		
		
	}
	
	public static void main(String[] args){
		AnonymousInnerClass aICDemo = new AnonymousInnerClass();
		aICDemo.sayHiToAll();
	}
}
